﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="M01_XMB.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Jihuabu.M01_XMB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/ssec-form.css"/> 
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
   <div class="toolbars">
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/index.aspx" >数据统计</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JDBView.aspx" >进度查询</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JDB.aspx" >进度管理</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_XMB.aspx" >项目信息</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JsCreate.aspx" >数据调用</a>
  </div>

  <div id="contents" class="ssec-form">
   <div class="ssec-group ssec-group-hasicon"><img src="../../easyui1.2.6/themes/icons/application.png" alt=""/><span>项目属性</span></div>
   <asp:HiddenField ID="h_afebh" runat="server" />
   <ul>
        <li><div class="ssec-label">AFE编号*：</div></li>
        <li><div class="ssec-text normal"><asp:TextBox ID="t_afebh" runat="server" CssClass="ssec-text-field easyui-validatebox" required="true"></asp:TextBox></div></li>
        <li style="width:30px;"></li>
        <li><div class="ssec-label">项目名称：</div></li>
        <li><div class="ssec-text normal"><asp:TextBox ID="t_xmmc" runat="server" CssClass="ssec-text-field easyui-validatebox"></asp:TextBox></div></li>
    </ul> 

    <ul>
        <li><div class="ssec-label">所属单位：</div></li>
        <li><div class="ssec-text normal"><asp:TextBox ID="t_ssdw" runat="server" CssClass="ssec-text-field"></asp:TextBox></div></li>
        <li style="width:30px;"></li>
        <li><div class="ssec-label">项目分类：</div></li>
        <li>
            <asp:DropDownList ID="t_xmfls" runat="server">
                <asp:ListItem Value="">请选择分类</asp:ListItem>
                <asp:ListItem Value="物探">物探</asp:ListItem>
                <asp:ListItem Value="钻井">钻井</asp:ListItem>
                <asp:ListItem Value="地面">地面</asp:ListItem>
                <asp:ListItem Value="其他">其他</asp:ListItem>
            </asp:DropDownList>
        </li>
    </ul>
     
    <ul>      
        <li><div class="ssec-label">项目状态：</div></li>
        <li>
            <asp:RadioButtonList ID="t_xmzt" runat="server" RepeatLayout="Flow">
            <asp:ListItem Text="未完成" Value="0" Selected="True"></asp:ListItem>
            <asp:ListItem Text="已完成" Value="1"></asp:ListItem>            
            </asp:RadioButtonList>
        </li>
    </ul>
     <ul>
        <li><div class="ssec-label">批复时间：</div></li>
        <li><asp:TextBox ID="t_kgsj" runat="server" CssClass="ssec-text-field easyui-datebox" ></asp:TextBox></li>
        <li style="width:99px;"></li>
        <li><div class="ssec-label">完工时间：</div></li>
        <li><asp:TextBox ID="t_wgsj" runat="server" CssClass="ssec-text-field easyui-datebox"></asp:TextBox></li>
    </ul>
     <ul>
        <li><div class="ssec-label">AFE金额(千美元)：</div></li>
        <li><div class="ssec-text normal"><asp:TextBox ID="t_afepz_my" runat="server" CssClass="ssec-text-field easyui-numberbox"></asp:TextBox></div></li>
        <li style="width:30px;"></li>
        <li><div class="ssec-label">AFE金额(金戈)：</div></li>
        <li><div class="ssec-text normal"><asp:TextBox ID="t_afepz_jg" runat="server" CssClass="ssec-text-field easyui-numberbox"></asp:TextBox></div></li>
    </ul>
     <ul><li style="width:100px;"></li>
   <li><asp:LinkButton ID="BtnSave" runat="server" CssClass="easyui-linkbutton" OnClick="BtnSave_OnClick">保存</asp:LinkButton></li>
   <li style="width:10px;"></li>
        <li><asp:LinkButton ID="BtnAdd" runat="server" CssClass="easyui-linkbutton" 
                onclick="BtnAdd_Click">新增</asp:LinkButton></li>
                 <li style="width:10px;"></li>
        <li><asp:LinkButton ID="BtnDelete" runat="server" CssClass="easyui-linkbutton" 
                onclick="BtnDelete_Click">删除</asp:LinkButton></li>
  </ul>
    <div class="ssec-group ssec-group-hasicon"><img src="../../easyui1.2.6/themes/icons/application.png" alt=""/><span>项目列表</span></div>
      AFE编号：<asp:TextBox ID="s_afkbh" runat="server"></asp:TextBox>项目状态：<asp:DropDownList 
          ID="s_zt" runat="server">
          <asp:ListItem Value="">全部</asp:ListItem>
          <asp:ListItem Value="0">未完成</asp:ListItem>
          <asp:ListItem Value="1">已完成</asp:ListItem>
      </asp:DropDownList>
      <asp:Button     ID="btn_search" runat="server" Text="搜索" 
          onclick="btn_search_Click" CssClass="button2" />
      <asp:GridView ID="gv" runat="server"  AutoGenerateColumns="False" 
           CssClass="GridViewStyle" onselectedindexchanged="gv_SelectedIndexChanged">

          <Columns>
              <asp:BoundField DataField="AFEBH" HeaderText="AFE编号" />
              <asp:BoundField DataField="KGSJ" HeaderText="批复时间" />             
              <asp:BoundField DataField="XMSSGS" HeaderText="所属单位" />
              <asp:BoundField DataField="XMFL" HeaderText="项目分类" />
              <asp:BoundField DataField="XMMC" HeaderText="项目名称" />
              <asp:BoundField DataField="AFEPZ_MY" HeaderText="AFE批准金额(千美元)" />
              <asp:BoundField DataField="AFEPZ_JG" HeaderText="AFE批准金额(金戈)" />
              <asp:BoundField DataField="ZT" HeaderText="状态" />
              <asp:BoundField DataField="WGSJ" HeaderText="完成时间" />
              <asp:CommandField SelectText="修改" ShowSelectButton="True" ButtonType="Button" />
          </Columns>

       <HeaderStyle CssClass="GridViewHeaderStyle" />
                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                <RowStyle CssClass="GridViewRowStyle" />
           <SelectedRowStyle BackColor="#CCCCCC" ForeColor="#FF6600" />
      </asp:GridView>
    </div>    
</asp:Content>
